package com.uaf.vxalipaybill.api.vo.req;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import com.uaf.api.valid.EnumValue;


/**
 * @filename VxAlipayBillReqVo.java
 * @description 微信支付宝账单授权请求VO
 * @author 马庆智
 * @date 2021/9/8 12:06
 */
public class VxAlipayBillAuthReqVo implements Serializable {

	private static final long serialVersionUID = -6369248633145722587L;
	/**业务Id*/
	@NotBlank(message = "业务id不能为空")
	private String businessId;

	/**姓名*/
	@NotBlank(message = "姓名不能为空")
	private String custName;

	/**身份证号*/
	@NotBlank(message = "身份证号不能为空")
	private String certNo;

	/**账单类型 VX:微信，ALIPAY:支付宝*/
	@NotBlank(message = "账单类型不能为空")
	@EnumValue(strValues = { "VX", "ALIPAY" }, message = "您当前输入的账单类型不符合规范")
	private String billType;

	/**授权码*/
	@NotBlank(message = "授权码不能为空")
	@Length(min = 6, max = 6, message = "微信支付宝授权码必须6位")
	private String authCode;

	/**异步推送地址**/
	private String notifyUrl;

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getCertNo() {
		return certNo;
	}

	public void setCertNo(String certNo) {
		this.certNo = certNo;
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
}
